package org.teremail.client;

import com.google.gwt.user.client.rpc.RemoteService;

public interface MailService extends RemoteService {

    String[] getFolders(String mailbox) throws Exception;
    
    MessageSummary[] getMessageSummaries(String mailbox, String folder) throws Exception;
    
    String getMessage(String mailbox, String folder, int uid) throws Exception;
}
